<template>
    <van-tabbar
        route
        v-model="active"
        border
        fixed
        z-index="100"
        active-color="#ff5f16"
        inactive-color="#999"
    >
        <van-tabbar-item 
        :badge="l.hot?cartNum:null" 
        :to="{name:l.name}"
        v-for="(l,i) in FtList" :key='i'>
            <span>{{l.text}}</span>
            <template #icon>
                <i class="iconfont" :class="l.icon" ></i>
            </template>
        </van-tabbar-item>
    </van-tabbar>
</template>


<script>
export default {
    data(){
        return {
            active:''
        }
    }
}
</script>